package com.nineclock.document.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nineclock.document.pojo.DocFile;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface DocumentMapper extends BaseMapper<DocFile> {
    @Select("SELECT a.`user_name` FROM nineclock_sys.`sys_company_user` a , nineclock_doc.`doc_file` b WHERE b.create_user_id = a.`id`")
    public List<String> queryUser();
}
